<html>
 <head>
 
 <script type="text/javascript" src="<?php echo MAIN_URL;?>js/coursesyllabusdetails.js"></script>
 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="<?php echo MAIN_URL;?>js/easypaginate.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="<?php echo MAIN_URL;?>css/style.css" type="text/css" rel="stylesheet">
<link href="<?php echo MAIN_URL;?>css/paging.css" type="text/css" rel="stylesheet">
<link rel="icon" type="image/ico" href="<?php echo MAIN_URL;?>images/favicon.ico"></link> 

    <link rel="stylesheet" href="<?php echo MAIN_URL;?>css/style1.css" type="text/css" />
	<script type="text/javascript" src="<?php echo MAIN_URL;?>js/jquery-1.3.1.min.js"></script>
	<script type="text/javascript" src="<?php echo MAIN_URL;?>js/jquery.tablesorter.js"></script>
	<script type="text/javascript" src="<?php echo MAIN_URL;?>js/jquery.tablesorter.pager.js"></script>
 
  
 </head>

<body onload="applypagger()">
 
 
 
<?php
if($assgnmet_result!=""){
	 $mainurl=MAIN_URL;
 $counter=1;
 echo'<table id="assignment_result" class="tablesorter"><thead><tr> 
        
	        <th align="left">S.No</th>
            <th align="left">Assignmet Name</th>
            <th align="left">Description</th>
            <th align="left">Assigned Date</th>
            <th align="left">Marks Scored</th>
		 

            
		</tr></thead><tbody>';
foreach ($assgnmet_result->result() as $row)
            {


 echo  '<a href="#"><tr>
	        <td>'.$counter.'</td>
            <td>'.$row->name.'</td>
			<td>'.$row->description.'</td>
            <td>'.$row->assigneddate.'</td>
            <td>'.$row->marks.'</td>
			 
			 
       </tr> ';

$counter++;
      }
	 echo'</tbody></table><br>';  ?>
<div style="position: static;">
	  <div id="pager" class="pager" style="position: static;">
	<form >
		<img src="<?php echo MAIN_URL;?>images/first.png" class="first"/>
		<img src="<?php echo MAIN_URL;?>images/prev.png" class="prev"/>
		<input type="text" class="pagedisplay" style="height: 20px; margin: 2px 10px 20px 12px; padding: 1px; width: 60px;"/>
		<img src="<?php echo MAIN_URL;?>images/next.png" class="next"/>
		<img src="<?php echo MAIN_URL;?>images/last.png" class="last"/>
		<select class="pagesize">
			<option selected="selected" value="10">10</option>
			<option  value="20">20</option>
			<option value="30">30</option>
			<option value="40">40</option>
		</select>
 </form>
</div></div>
	<?php  }


else{

echo "<br><br><h3 class='heading'>No Score</h4>";

}
?>
	   
</body>
</html>